@import './../../style/default.less';

.user-content{
	height: 64px;
	overflow: hidden;
	.user-box{
		display: flex;
		align-items: center;
		height: 64px;
		font-size: @fontC;
		cursor: pointer;
		.user-name{
			display: inline-block;
			max-width: 150px;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}
		.show{
			transform: rotate(180deg);
			transition: all .2s ease-in;
		};
		.hide{ 
			transform: rotate(0deg);
			transition: all .2s ease-in;
		};
	}
}
.ant-dropdown-menu{
	width: 200px;
	padding-top: 0;
	text-align: center;
}
.user-img-wrap{
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60px;
	background: #f5f5f5;
	border-radius: 3px 3px 0 0;
	&:after{
		position: absolute;
		content: "";
		top: -8px;
		right: 0;
		width: 10px;
		height: 10px;
		border-bottom: 9px solid #f5f5f5;
		border-left: 12px solid transparent;
		border-right: 12px solid transparent;
	}
	img{
		width: 50px;
		height: 50px;
		margin-right: 10px;
		border-radius: 50%;
		border: 1px solid #ccc;
	}
	span{
		display: inline-block;
		max-width: 130px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-size: @fontD;
	}
}
.ant-dropdown-menu-item{
	line-height: 28px;
}